package com.production.CoursePlatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.Getter;

import java.time.LocalDateTime;

@Data
@TableName("assign_homework")
public class AssignHomework {
    @Getter
    @TableId(type = IdType.INPUT)
    @TableField("ah_id")
    private int ahID;
    @Getter
    @TableField("ct_id")
    private int ctID;
    @Getter
    @TableField("ah_category")
    private String ahCategory;
    @Getter
    @TableField("start_time")
    private LocalDateTime startTime;
    @Getter
    @TableField("end_time")
    private LocalDateTime endTime;
    @Getter
    @TableField("ah_title")
    private String ahTitle;
    @Getter
    @TableField("requirement")
    private String requirement;
    @Getter
    @TableField("attachment")
    private int attachment;
}
